Use _WIN32 instead of WIN32
authorTor Lillqvist <tml@iki.fi>
Fri, 29 Jan 2010 09:56:24 +0000 (11:56 +0200)
committerTor Lillqvist <tml@iki.fi>
Fri, 29 Jan 2010 09:56:24 +0000 (11:56 +0200)
babl/babl-mutex.h

index 1636da3671b4357cce436dbb8e16b9b212f03317..99fdbaa1c2b6af891d4825826ec94dd46eb1eeea 100644 (file)
 #ifndef _BABL_MUTEX_H
 #define _BABL_MUTEX_H
 
-#ifndef WIN32
+#ifndef _WIN32
 #define __USE_GNU 1
 #include <pthread.h>
 #else
 #include <windows.h>
 #endif
 
-#ifdef WIN32
+#ifdef _WIN32
   typedef  CRITICAL_SECTION   BablMutex;
 #else
   typedef  pthread_mutex_t   BablMutex;